#!/bin/bash
echo "first "
b=''
for ((i=0;i<=100;i++))
do
        printf "loading:[%-100s]%d%%\r" $b $i
        sleep 0.05
        b=#$b
done
echo


echo "second"
b='>'
for ((i=0;i<=100;i++))
do
	printf "loading:[%-100s]%d%%\r" $b $i
	sleep 0.05
	b==$b
done
echo
